package com.base.commons.tools.excel;

import com.base.commons.tools.excel.headerparse.ExcelDynamicHeadParse;
import com.base.commons.tools.excel.headerparse.ExcelDynamicHeadValueParse;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * excel 动态表头注解 用在需要解析成动态表头的变量上
 * @author 任森平
 * 创建时间: 2021-02-05 16:45
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ExcelDynamicHeader {
    String alias() default "";
    Class<? extends ExcelDynamicHeadParse> parseHeader();
    Class<? extends ExcelDynamicHeadValueParse> parseValueHeader();
}
